#obj-m := myjprobe.o
obj-m := mycpufreq.o
#myjprobe-objs :=myjprobe.o

KID := /home/cwd/fedora/cwd/paper/msm
PWD := $(shell pwd)
ARCH =arm
CROSS_COMPILE=arm-eabi-
cc=$(CROSS_COMPILE)gcc
LD=$(CROSS_COMPILE)ld


all:
	make -C $(KID) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) M=$(PWD) modules

clean:
	rm -rf *.o .cmd *.ko *.mod.c .tmp_versions *.order *.symvers


